import request from '@/utils/request'

export function getAllInfo(data) {
  return request({
    url: '/sysSetting/query',
    method: 'get',
    params: data
  })
}
export function deleteInfo(id) {
  return request({
    url: `/sysSetting/delete/${id}`,
    method: 'delete'
  })
}
export function add(data) {
  return request({
    url: '/sysSetting',
    method: 'post',
    data
  })
}
